import request from '@/utils/request'

var service_name = '/bssp-admin-service'
/**
 * @description: 分页列表
 *
 * @author weirx
 * @date 2021-07-04T18:28:51.460
 */
export function getPageClasses(data) {
    return request({
        url: service_name+ '/classes/pageList',
        method: 'post',
        data
    })
}

/**
 * @description: 新增
 *
 * @author weirx
 * @date 2021-07-04T18:28:51.460
 */
export function create(data) {
    return request({
        url: service_name+ '/classes/save',
        method: 'post',
        data
    })
}

/**
 * @description: 更新
 *
 * @author weirx
 * @date 2021-07-04T18:28:51.460
 */
export function update(data) {
    return request({
        url: service_name+ '/classes/update',
        method: 'post',
        data
    })
}
